package ink.xiaobaibai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ink.xiaobaibai.common.BuyPayBo;
import ink.xiaobaibai.common.PageInfo;
import ink.xiaobaibai.entity.BuyOrder;
import ink.xiaobaibai.entity.LogisticsBuy;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xiaobaibai
 * @since 2021-06-12
 */
public interface IBuyOrderService extends IService<BuyOrder> {

    /**
     * 存入客户信息
     */
    public void setBuyPayBoInfo(BuyPayBo buyPayBo, Integer userId);

    /**
     * 取出客户信息物流信息id
     */
    public LogisticsBuy getLogisticsBuy(Integer adminUserid, Integer userId);

    /**
     * 查看管理通过但是尚未发货的购买订单的物流信息
     */
    public PageInfo<LogisticsBuy> getLogisticsListByNoSend(Integer pageNum, Integer pageSize);

}
